<?php

return [
    'alipay' => [
        // 支付宝分配的 APPID
        'app_id' => '2019092867880781',

        // 支付宝异步通知地址
        'notify_url'     => 'https://1.xmtgj.com/api/version/1.0/alipay/alipayCallBack',

        // 支付成功后同步通知地址
        'return_url'     => 'https://1.xmtgj.com/admin/users/alipayBack',

        // 阿里公共密钥，验证签名时使用
        'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkjy8kuEbnhg7PCcnz6y64WenrgE99LaxwmcEwgVDREwC+YMt0FquKttdcppIdvh7XPiAKPcTpjEapLtdc3ziNLTuy/0RAra6tnBd3KBGC2ja/nsGA+5t878AYVRsgkGNYVZt44p6OTYWSsJmInF96GOvPiSbOL/fsRzXlcjf7BgzT5dDbFliHKZAhuNmved07WnTOzf6wQG94WxzJDse89qIXuhWfUY3yfM2DnUl23KRPWAf9G8UJgWQUs8x9NYVYpL2oDTXDsFKfHIV4JjJsRirp/RZQquOtkYqZNCAug6wwzKG2JlTOpstdzsKfci47s+2xP7lNZS5wywL8ljjhwIDAQAB',

        // 自己的私钥，签名时使用
        'private_key' => 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCOsQuBl0WvOAeEzuoiiNCgAxVuow/KEk19HQhlFNk7nDqjsVL95KpaOGnAT7AdyK+loG9lBq/ZU4MLzJI79eIgXsm/uJSCoePR/Gpa2ibd4UXE/SB+uq3twb6sa3W9+kLlntld9MQLmz/etKiBORVB26SR/7hmo57gMddWje21c7gA62RDBcfS+VlRn42hj16BHC6Z6YuU/Wnzvt6aiawkUaPambqiiZi9ET80u+iQj3thOkghUZgSDaq6hmyq6xsenOGsfNqtho3+pFVBT742rv5H/rduXjQvryUSAPu2szslWus9F93vglL3Hi729uKgVBjYupi7JpIotHuTxPjtAgMBAAECggEAWFjT9/OySI+XUCpQmvs8uKXQIkVBpGp6oclVBkjHS3oqcGl9KgfnVZ7yEwkD0R0Na64O6m0eeZ+UVrzdmdReoo4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I8xiiJy49SCRix1iW9FEsRnYEw/FP1OYkZ9KbOkbCKgovA=',

        // 使用公钥证书模式，请配置下面两个参数，同时修改 ali_public_key 为以 .crt 结尾的支付宝公钥证书路径，如（./cert/alipayCertPublicKey_RSA2.crt）
        // 应用公钥证书路径
        // 'app_cert_public_key' => './cert/appCertPublicKey.crt',

        // 支付宝根证书路径
        // 'alipay_root_cert' => './cert/alipayRootCert.crt',

        // optional，默认 warning；日志路径为：sys_get_temp_dir().'/logs/yansongda.pay.log'
        'log' => [
            'file' => storage_path('logs/alipay.log'),
        //  'level' => 'debug'
            'type' => 'single', // optional, 可选 daily.
        //  'max_file' => 30,
        ],

        // optional，设置此参数，将进入沙箱模式
        // 'mode' => 'dev',
    ],

    'wechat' => [
        // 公众号 APPID
        'app_id' => 'wx53ab6b46d8644ad2',

        // 小程序 APPID
        'miniapp_id' => 'wx830386602e6af5b1',

        // APP 引用的 appid
        'appid' => 'wx820e151d0905ab1a',

        // 微信支付分配的微信商户号
        'mch_id' => '1674677959',

        // 微信支付异步通知地址
        'notify_url' => 'https://1.xmtgj.com/api/version/1.0/nimi/wechat_back',

        // 微信支付签名秘钥
        'key' => '9e5642e7ce49c46db10156d3a0623a95',
        // APIv3密钥
        // 'key' => '9e5642e7ce49c46db10156d3a0623a95',

        // 客户端证书路径，退款、红包等需要用到。请填写绝对路径，linux 请确保权限问题。pem 格式。
        'cert_client' => public_path() . '/wechat/apiclient_cert.pem',

        // 客户端秘钥路径，退款、红包等需要用到。请填写绝对路径，linux 请确保权限问题。pem 格式。
        'cert_key' => public_path() . '/wechat/apiclient_key.pem',

        // optional，默认 warning；日志路径为：sys_get_temp_dir().'/logs/yansongda.pay.log'
        'log' => [
            'file' => storage_path('logs/pay.log'),
            'level' => 'error'
        //  'type' => 'single', // optional, 可选 daily.
        //  'max_file' => 30,
        ],

        // 'optional' => 'dev',
        // 'dev' 时为沙箱模式
        // 'hk' 时为东南亚节点
        // 'mode' => 'dev',
    ],
];
